/**
 * @description **判断微信端**
 * @returns Boolean
 */
const isWeixin=()=>{
    let ua = window.navigator.userAgent.toLowerCase();
    if (ua.match(/MicroMessenger/i) == 'micromessenger') {
        return true;
    } else {
        return false;
    }
}

export default isWeixin;